export function classNames(module: any, ...names: string[]) {
  return names.map(item => module[item]).filter(Boolean).join(' ')
}

export function moduleClassSetter(module: any) {
  return function (...names: string[]) {
    return names.map(item => module[item]).filter(Boolean).join(' ')
  }
}